/**
 * output package name
 */
package com.kingdee.eas.scm.sm.pur;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.StringEnum;

/**
 * output class name
 */
public class SourceTypeEnum extends StringEnum
{
    public static final String SUPPLIER_VALUE = "10";
    public static final String STORAGEORGUNIT_VALUE = "20";

    public static final SourceTypeEnum SUPPLIER = new SourceTypeEnum("SUPPLIER", SUPPLIER_VALUE);
    public static final SourceTypeEnum STORAGEORGUNIT = new SourceTypeEnum("STORAGEORGUNIT", STORAGEORGUNIT_VALUE);

    /**
     * construct function
     * @param String sourceTypeEnum
     */
    private SourceTypeEnum(String name, String sourceTypeEnum)
    {
        super(name, sourceTypeEnum);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static SourceTypeEnum getEnum(String sourceTypeEnum)
    {
        return (SourceTypeEnum)getEnum(SourceTypeEnum.class, sourceTypeEnum);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(SourceTypeEnum.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(SourceTypeEnum.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(SourceTypeEnum.class);
    }
}